
@font-face {
    font-family: 'iconfont xfslogo';
    src: url('@/static/fonts/iconfont.woff2') format('woff2'),
         url('@/static/fonts/iconfont.woff') format('woff'),
         url('@/static/fonts/iconfont.ttf') format('truetype'),
        //  url('@/static/fonts/iconfont.svg') format('svg');
  }
  .iconfont {
    font-family: "iconfont xfslogo" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
/* 公共样式 */
.hide {display: none !important;}
.clearfix:after {clear: both;content: " ";display: block;font-size: 0;height: 0;visibility: hidden}

.clearfix {zoom: 1}
/*------------布局使用样式--------------*/

.page-wrap {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.wrap-center {
    /*水平居中*/
    /*老版本语法*/
    -webkit-box-pack: center;
    -moz-box-pack: center;
    /*混合版本语法*/
    -ms-flex-pack: center;
    /*新版本语法*/
    -webkit-justify-content: center;
    justify-content: center;
}

.wrap-vcenter {
    /*垂直居中*/
    /*老版本语法*/
    -webkit-box-align: center;
    -moz-box-align: center;
    /*混合版本语法*/
    -ms-flex-align: center;
    /*新版本语法*/
    -webkit-align-items: center;
    align-items: center;
}

.wrap-content {
    -webkit-box-flex: 1;
    /* OLD - iOS 6-, Safari 3.1-6 */
    -webkit-flex: 1;
    /* Chrome */
    -ms-flex: 1;
    /* IE 10 */
    flex: 1;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.wrap-content2 {
    -webkit-box-flex: 2;
    /* OLD - iOS 6-, Safari 3.1-6 */
    -webkit-flex: 2;
    /* Chrome */
    -ms-flex: 2;
    /* IE 10 */
    flex: 2;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.wrap-end {
    -webkit-box-pack: end;
    /* 09版 */
    -webkit-box-align: end;
    /* 12版 */
    -webkit-align-items: end;
    -moz-align-items: end;
    -ms-align-items: end;
    -o-align-items: end;
    align-items: end;
    justify-content: flex-end;
}

.no-wrap {
    white-space: nowrap;
}

.wrap-wrap {
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

.wrap-between {
    -moz-box-pack: justify;
    -webkit-box-pack: justify;
    /* box-pack: justify; */
    justify-content: space-between;
}
.wrap-column{
    flex-direction: column;
}

/* 文字省略号 */

.text_flow {width: 100%;overflow: hidden; text-overflow: ellipsis;white-space: nowrap;}
.uni-ellipsis-1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.uni-ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* 分销红 */
.buy-color-red{color:$uni-text-color-red !important}
.buy-button-red{
    border: 1rpx solid $uni-border-color-red;
    color: $uni-text-color-red;  
    font-size: 24 rpx;
    border-radius: 8rpx;
    }
.buy-button-primary-red{
    background: $uni-bg-color-red;
     border: 1rpx solid $uni-border-color-red;
     color: $uni-text-color-inverse;
    font-size: 24 rpx;
    border-radius: 8rpx;
    text-align: center;
    }
/*  */
.color2{
    color: $uni-text-color;
}
.color6{
    color: #666666;
}
.colorA{
    color: $uni-grey-aaa;
}

.color80{
    color: #808080;
  }
.color-red{
    color:#ff0d35 ;
  }
.color0{
    color: $uni-text-color-primary
}
.font_w{
    font-weight: 600;
}
/* padding */
.pd10{padding: 10rpx;}
.pd20{padding: 20rpx;}
.pd30{padding: 30rpx;}
.pl10{padding-left: 10rpx;}
.pl20{padding-left: 20rpx;}
.pl30{padding-left: 30rpx;}

.pr10{padding-right: 10rpx;}
.pr16{padding-right: 16rpx;}
.pr20{padding-right: 20rpx;}
.pr24{padding-right: 24rpx;}
.pr30{padding-right: 30rpx;}
.pt10{padding-top: 10rpx;}
.pt20{padding-top: 20rpx;}
.pt30{padding-top: 30rpx;}
.pb10{padding-bottom: 10rpx;}
.pb20{padding-bottom: 20rpx;}
.pb30{padding-bottom: 30rpx;}
.pb50{padding-bottom: 50rpx;}
/* marin */
.md10{margin: 10rpx;}
.md20{margin: 20rpx;}
.md30{margin: 30rpx;}
.md60{margin: 60rpx;}
.ml10{margin-left: 10rpx;}
.ml20{margin-left: 20rpx;}
.ml30{margin-left: 30rpx;}
.ml60{margin-left: 60rpx;}
.mr8{margin-right: 8rpx;}
.mr10{margin-right: 10rpx;}
.mr16{margin-right: 16rpx;}
.mr20{margin-right: 20rpx;}
.mr30{margin-right: 30rpx;}
.mr60{margin-right: 60rpx;}
.mt10{margin-top: 10rpx;}
.mt20{margin-top: 20rpx;}
.mt30{margin-top: 30rpx;}
.mt60{margin-top: 60rpx;}
.mb10{margin-bottom: 10rpx;}
.mb20{margin-bottom: 20rpx;}
.mb30{margin-bottom: 30rpx;}
.mb60{margin-bottom: 60rpx;}
.one-confirm-button{
    height: 80rpx;
    line-height: 80rpx;
    margin: 30rpx 80rpx ;
    background-color: $uni-orange;
    font-size: 28rpx;
    color: $uni-text-color-inverse;
    border-radius: 8rpx;
    text-align: center;
    outline: none;
}
.cancel-button{
    height: 62rpx;
    line-height: 62rpx;
    border-radius: 8rpx;
    color: $uni-text-color;
    padding: 0 16rpx ;
    cursor: pointer;
    text-align: center;
    border: 1rpx solid #D3D3D3;
    background: #ffffff;
}
.primary-button{
    height: 62rpx;
    line-height: 62rpx;
    border-radius: 8rpx;
    color: $uni-text-color-inverse;
    padding: 0 16rpx ;
    cursor: pointer;
    border: 1rpx solid #ffffff;
    text-align: center;
}
.primary-red-button{
    background: $uni-orange;
}
.primary-red-button.disabled{
    background-color: #FFCCD4;
    cursor: pointer;
}
.primary-error-button{
    background: $uni-error-primary;
}
.primary-error-button.disabled{
    background-color: #FFE6CC;
    cursor: pointer;

}
// 商品标签
.product-tage{
    border-radius: 4rpx;
    border: 1rpx solid #ff0d35;
    padding: 1px 8rpx ;
    margin-right: 14rpx;
    color:#ff0d35 ;
    font-size: 20rpx;
    line-height: 24rpx;
    width: auto;
    display: inline-block;
  }
  
  .product-tage:last-of-type{
    margin-right: 0;
  }
  .product-tage.primary{
    color: #ffffff;
    background: #ff0d35;
  }